package com.kang.manager.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@TableName("item_cat")
public class ItemCat implements Serializable {

    private static final long serialVersionUID = 1L;

    // 商品类id
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    // 父类id
    private Long parentId;

    // 类目名
    private String name;

    // 类型id
    private Long typeId;
}
